<?php
// 连接数据库
$link=mysql_connect('localhost:60503','dawanapp','dawanapp');
//sql语句
$sql="SELECT * FROM contact_us";
//如果连接成功
if($link)
{
    mysql_query("SET CHARACTER_SET_RESULTS=UTF8");
    mysql_select_db('dawanapp',$link);
}else{
    die('Could not connect: ' . mysql_error());
};
$result=mysql_query($sql,$link)
echo $result;
mysql_close($link);
?>